package com.ara.web.ui.binding_adapter;

import android.widget.FrameLayout;

import androidx.databinding.BindingAdapter;

/**
 * Created by XieXin on 2022/3/9.
 */
public class WebActivityBindingAdapter {
    @BindingAdapter(value = {"setFrameLayout"}, requireAll = false)
    public static void setFrameLayout(FrameLayout fl, FrameLayout frameLayout) {
        if (frameLayout == null) return;
        fl.addView(frameLayout);
    }
}
